package com.zhaojp.demo.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Constants {

    @Value("${server.port}")
    private String userName;

    public String getUserName() {
        return userName;
    }
}
